package com.huabo.contract.service;




import com.huabo.contract.oracle.entity.TblContractTypeof;
import com.huabo.contract.util.Tree;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface TblContractTypeofService {


    Map<String, Object> findAllListToCreateContract(String token, String staffId);

    Map<String, Object> findPageInfoList(Integer pageNumber, Integer pageSize, String typeId,String choiceTypeName, String token, String staffId);

    List<Tree> getFatherTree(BigDecimal orgid);

    Map<String, Object> saveContractType(String[] typeNameArr, Integer parentid, String token, String staffId);

    Map<String, Object> modifyContractType(String token, String staffId, String typeId, String typeName);

    Map<String, Object> removeContractType(String typeId, String token, String staffId);

    Map<String, Object> toAddContract(BigDecimal flowId, Integer typeId, String token);

    List<TblContractTypeof> findAllList(BigDecimal orgid, int i);
}
